package team.damo.admin.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;
//import team.damo.admin.dao.TestDAO;
import team.damo.admin.dao.TestDAO;
import team.damo.admin.model.Test;
import team.damo.admin.service.TestService;

import java.util.List;

/**
 * @Author: ZhangHeng
 * @Description: TODO
 * @DateTime: 2024/2/18 下午1:03
 **/
@Service
public class TestServiceImpl implements TestService {
    @Autowired
    public TestDAO testDAO;
    @Override
    public List<Test> getList() {
        return testDAO.getList();
    }

    @Override
    public List<Test> getListById(int i) {
        return testDAO.getListById(i);
    }
}
